home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / aros / intuition / refreshgadgets.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-12  |  1.6 KB  |  73 lines

  1. /*
  2.     (C) 1995-96 AROS - The Amiga Replacement OS
  3.     $Id: refreshgadgets.c,v 1.2 1996/08/29 13:57:38 digulla Exp $
  4.     $Log: refreshgadgets.c,v $
  5.     Revision 1.2  1996/08/29 13:57:38  digulla
  6.     Commented
  7.     Moved common code from driver to Intuition
  8.  
  9.     Revision 1.1  1996/08/28 17:55:35  digulla
  10.     Proportional gadgets
  11.     BOOPSI
  12.  
  13.  
  14.     Desc:
  15.     Lang: english
  16. */
  17. #include "intuition_intern.h"
  18.  
  19. /*****************************************************************************
  20.  
  21.     NAME */
  22.     #include <clib/intuition_protos.h>
  23.  
  24.     __AROS_LH3(void, RefreshGadgets,
  25.  
  26. /*  SYNOPSIS */
  27.     __AROS_LHA(struct Gadget    *, gadgets, A0),
  28.     __AROS_LHA(struct Window    *, window, A1),
  29.     __AROS_LHA(struct Requester *, requester, A2),
  30.  
  31. /*  LOCATION */
  32.     struct IntuitionBase *, IntuitionBase, 37, Intuition)
  33.  
  34. /*  FUNCTION
  35.     Refreshes all gadgets starting at the specified gadget.
  36.  
  37.     INPUTS
  38.     gadgets - The first gadget to be refreshed
  39.     window - The gadget must be in this window
  40.     requester - If any gadget has GTYP_REQGADGET set, this must
  41.         point to a valid Requester. Otherwise the value is
  42.         ignored.
  43.  
  44.     RESULT
  45.     None.
  46.  
  47.     NOTES
  48.  
  49.     EXAMPLE
  50.     // Refresh all gadgets of a window
  51.     RefreshGadgets (win->FirstGadget, win, NULL);
  52.  
  53.     BUGS
  54.  
  55.     SEE ALSO
  56.     RefreshGList()
  57.  
  58.     INTERNALS
  59.  
  60.     HISTORY
  61.     29-10-95    digulla automatically created from
  62.                 intuition_lib.fd and clib/intuition_protos.h
  63.  
  64. *****************************************************************************/
  65. {
  66.     __AROS_FUNC_INIT
  67.     __AROS_BASE_EXT_DECL(struct IntuitionBase *,IntuitionBase)
  68.  
  69.     RefreshGList (gadgets, window, requester, ~0L);
  70.  
  71.     __AROS_FUNC_EXIT
  72. } /* RefreshGadgets */
  73.